CreateStorageUnit
TheCreateStorageUnit
method creates a new storage unit in this draft.
ODStorageUnit CreateStorageUnit ();
- return value
- A reference to the newly created storage-unit object.
DISCUSSION
You can call this method only if this draft's current permissions provide write access.This method initializes the reference count of the returned storage unit. When you have finished using that storage unit, you should call its
Release
method.If this method executes successfully, it marks this draft as dirty.
SEE ALSO
TheODDraft::AcquireStorageUnit
method (page 158).
TheODStorageUnit
class (page 664).
"Creating Additional Storage Units" on page 301 in OpenDoc Programmer's Guide.
Table 11-1 on page 466 in OpenDoc Programmer's Guide.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help